//
//  PTStudyAppointmentTimeSelectCellView.m
//  PT
//
//  Created by yate1996 on 15/6/19.
//  Copyright (c) 2015年 jarze. All rights reserved.
//

#import "PTStudyAppointmentTimeSelectCellView.h"



@interface PTStudyAppointmentTimeSelectCellView ()
@end
@implementation PTStudyAppointmentTimeSelectCellView

-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    
    if(self) {
        
        
        UILabel *lessonTimeLabel = [[UILabel alloc]initWithFrame:CGRectMake(12, 0, 320, 44)];
        
        lessonTimeLabel.font = [UIFont systemFontOfSize:15];
        lessonTimeLabel.textColor = PTColor(75, 77, 84, 1.0);
        
        lessonTimeLabel.text = @"10:00-15:25";
        
        UIButton *button = [[UIButton alloc]initWithFrame:CGRectMake(self.width - 44 , 0, 44, 44)];
        [button setImage:[UIImage imageNamed:@"ico_checkbox_unselected"] forState:UIControlStateNormal];
        [button setImage:[UIImage imageNamed:@"ico_checkbox_selected"] forState:UIControlStateSelected];
        [button setUserInteractionEnabled:NO];
        [self addSubview:button];
        self.arrowButton = button;
        [self addSubview:lessonTimeLabel];
        
    }
    return self;
}



@end
